<?php
/**
 * Project: HTPHouDuan
 * User: xilibo
 * Date: 2018/1/25
 */

return [
    'url_route_on' => true,
    'url_route_must' => true,
    'url_param_type' => 1,
    'api' => [
        'secret_key' => 'HPTSecKey(*%@)',
        'proxy' => [
            'pre_auth' => 'api/code',
            'inGame' => [
                'uri' => '/api/game/',
                'method' => 'GET',
                'entry' => true,
            ],
            'games' => [
                'uri' => '/api/games',
                'method' => 'GET',
            ],
            'recharge' => [
                'uri' => '/api/recharge',
                'method' => 'POST',
            ],
            'chkRecharge' => [
                'uri' => '/api/myrecharge',
                'method' => 'GET',
            ],
            'getMoney' => [
                'uri' => '/api/balance',
                'method' => 'GET',
            ],
            'dama' => [
                'uri' => '/api/betcount',
                'method' => 'GET',
            ],
        ],
        'open' => [
//            'inGame',
            'games',
        ],
    ],
    'view_replace_str'=>array(
        '__UPLOAD__'=>'/upload',
    ),
];